-- GENERATED SPELL FOR [Young Panther] --


function spell0_683(pUnit, Event) --@Claw,n/a--
pUnit:FullCastSpellOnTarget(16830,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_683', 590, 1)
end

function spell1_683(pUnit, Event) --@Cower,n/a--
pUnit:FullCastSpellOnTarget(1754,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_683', 0, 1)
end

function spell2_683(pUnit, Event) --@Dash,Self--
pUnit:FullCastSpellOnTarget(61684,pUnit)
pUnit:RegisterEvent('Sorts_683', 16000, 1)
end

function spell3_683(pUnit, Event) --@Growl,n/a--
pUnit:FullCastSpellOnTarget(14918,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_683', 0, 1)
end

function spell4_683(pUnit, Event) --@Prowl,Self--
pUnit:FullCastSpellOnTarget(24452,pUnit)
pUnit:RegisterEvent('Sorts_683', 0, 1)
end

function spell5_683(pUnit, Event) --@Rake,n/a--
pUnit:FullCastSpellOnTarget(59882,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_683', 9000, 1)
end

function Sorts_683(pUnit, Event)
local choix_sorts_683 = math.random(0, 5)
if choix_sorts_683 == 0 then
pUnit:RegisterEvent('spell0_683', 1, 1)
end
if choix_sorts_683 == 1 then
pUnit:RegisterEvent('spell1_683', 1, 1)
end
if choix_sorts_683 == 2 then
pUnit:RegisterEvent('spell2_683', 1, 1)
end
if choix_sorts_683 == 3 then
pUnit:RegisterEvent('spell3_683', 1, 1)
end
if choix_sorts_683 == 4 then
pUnit:RegisterEvent('spell4_683', 1, 1)
end
if choix_sorts_683 == 5 then
pUnit:RegisterEvent('spell5_683', 1, 1)
end
end

function mob683_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_683', math.random(1500, 3000), 1)
end

function mob683_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob683_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob683_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(683, 1, 'mob683_Action')
RegisterUnitEvent(683, 2, 'mob683_Leave')
RegisterUnitEvent(683, 3, 'mob683_Kill')
RegisterUnitEvent(683, 4, 'mob683_Die')
